package cn.iocoder.yudao.module.resource.controller.admin.audiotext.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - 文本编辑新增/修改 Request VO")
@Data
public class AudioTextSaveReqVO {

    @Schema(description = "唯一id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31646")
    private Integer id;

    @Schema(description = "文本内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "文本内容不能为空")
    private String content;

    @Schema(description = "标签列表,传用户选择的id")
    private List<Integer> tagList;

    @Schema(description = "关键字列表,传用户选择的id")
    private List<Integer> keyworldList;

    @Schema(description = "关联音频类型：1，默认，默认时不做任何关联，2，问答式需关键字回复")
    private int relationType;

    @Schema(description = "关联类型的内容")
    private List<AudioTextRelation> audioTextRelationList;

}